﻿@model KRM.Core.NLog

@{
    ViewBag.Title = "Error: " + Model.ErrorSource;
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<div class="container-fluid">
    <div class="page-header">
    </div>
    <div class="row-fluid">
        <div class="span12">
            <div class="box">
                <div class="box-title">
                    <h3 style="color: maroon; font-style: italic">@Model.ErrorSource</h3>
                </div>
                <div class="box-content">
                    <div class="content-log">
                        <p><strong>Date create: </strong>@Model.DateCreate, <span data-livestamp="@Model.DateCreate"></span></p>
                        <p><strong>Machine name: </strong>@Model.MachineName</p>
                        <p><strong>Error source: </strong>@Model.ErrorSource</p>
                        <div><strong>Stack trace</strong>
                            <pre><code>@Model.ErrorStackTrace</code></pre>
                        </div>
                        <div><strong>Message</strong>
                            <pre><code>@Model.ErrorMessage</code></pre>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
